package com.clkj.cldisabledmanclient.mvp.login;

import com.clkj.cldisabledmanclient.base.BasePresenter;
import com.clkj.cldisabledmanclient.base.BaseView;
import com.clkj.cldisabledmanclient.bean.UserLoginInfo;

/**
 * Created by clboys on 2019/5/15.
 */

public class LoginContract {

    public interface View extends BaseView<Presenter> {

        public void login();

        public void onLoginSuccess(UserLoginInfo userLoginInfo);

        public void onLoginError(String tip);
    }


    public interface Presenter extends BasePresenter {

        public void login(String userName,String passWord,String roleId);
    }


}
